package com.example.demo.Service;

import com.example.demo.Entity.FriendChart;
import com.example.demo.Entity.User;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface FriendChartService {
    public void insertFriendChart(FriendChart friendChart);
    public void deleteFriendChart(Integer selfId,Integer friendId);
    public List<Integer> findAll(Integer selfId);

    List<User> finduserTotal(Integer selfId);

    List<User> findnamesbyID(List<Integer> ids);
    public void AddFriend(Integer selfId,String username);
    public boolean checkout(Integer selfId, Integer friendId);
}
